import request from "@/utils/request";
import { Banner } from "./model/bannerModel";

enum Api {
  getDigitalAlbumListUrl = "/getDigitalAlbumLists",
  getAlbumImgUrl = "/getImageUrl",
  getMVUrl = '/getMV'
}

export const getDigitalAlbumListApi = () => {
  return request.get<any, any>(Api.getDigitalAlbumListUrl);
};

export const getAlbumImgApi = (id: number) => {
  return request.get<any, any>(`${Api.getAlbumImgUrl}?id=${id}`);
};

export const getMVApi = () => {
  return request.get<any, any>(Api.getMVUrl);
};